from django.contrib.auth.models import AbstractUser
from django.db import models
class User(AbstractUser):
    mobile = models.CharField(max_length=11, unique=True, verbose_name='手机号')
    email_active = models.CharField(max_length=24,unique=True, verbose_name='电子邮件')
    default_address_id = models.CharField(max_length=20, unique=True,verbose_name='默认地址id')
    class Meta:
        db_table = 'tb_users'



# Create your models here.
